package main

import (
	"fmt"
	. "go_data_structures_and_algorithms/tool"
)

func main() {
	Queue := DoubleNodeDoubleQueue[int]{}
	Queue.PushHead(1)
	Queue.PushHead(2)
	Queue.PushHead(3)
	Queue.PushHead(4)
	Queue.PushTail(1)
	Queue.PushTail(2)
	Queue.PushTail(3)
	Queue.PushTail(4)
	Queue.PopHead()
	Queue.PopHead()
	Queue.PopHead()
	Queue.PopHead()
	Queue.PopTail()
	Queue.PopTail()
	Queue.PopTail()
	Queue.PopTail()
	fmt.Println(Queue)
}
